package com.huajiao.management_system.controller;

import com.huajiao.management_system.service.resService;
import com.huajiao.management_system.util.PageResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

@Controller
@Api(tags = "总数统计接口")
public class resController {
    @Resource
    private resService resservice;

    @PostMapping(value = "/list")
    @ApiOperation(value = "分页查询所有成果统计", notes="根据一定的条件分页查询所有成果统计")
    @ResponseBody
    public PageResult list(String Time, String keyword, Integer page){
        return resservice.selectPage(Time,keyword,page);
    }

}
